/**
 * Project: common-domain
 * Created: 2017年2月15日
 * Copyright ©2011-2017 gopay Information Technology Co., LTD All Rights Reserved
**/
package com.gopay.common.domain.cbrmb.draw;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/** 
 * 跨境人民币提现订单退款操作日志
 * @ClassName: CbrmbDrawRefundLogs 
 * @author junjie.ge 
 * @date 2017年2月15日 下午5:29:24  
 */
@Entity
@Table(name="CB_RMB_DRAW_REFUND_LOGS")
public class CbrmbDrawRefundLogs implements Serializable {
    private static final long serialVersionUID = -6535954460690531788L;
    private Long id;
    private String drawGopayOrderId;
    private String refundGopayOrderId;
    private String operatorId;
    private String operatorName;
    private String bankPayOrderNum;
    private String bankRefundOrderNum;
    private String refundReason;
    private Date createTime;
    /**
     * @return the id
     */
    @Id
    @Column(name="ID",nullable=false,unique=true,length=20)
    @GeneratedValue(generator="cbrmb_draw_refund_logs_seq", strategy=GenerationType.SEQUENCE)
    @SequenceGenerator(name="cbrmb_draw_refund_logs_seq", sequenceName="CB_RMB_DRAW_REFUND_LOGS_SEQ")
    public Long getId() {
        return id;
    }
    /**
     * @param id the id to set
     */
    public void setId(Long id) {
        this.id = id;
    }
    /**
     * @return the drawGopayOrderId
     */
    @Column(name="DRAW_GOPAY_ORDER_ID", length=30)
    public String getDrawGopayOrderId() {
        return drawGopayOrderId;
    }
    /**
     * @param drawGopayOrderId the drawGopayOrderId to set
     */
    public void setDrawGopayOrderId(String drawGopayOrderId) {
        this.drawGopayOrderId = drawGopayOrderId;
    }
    /**
     * @return the refundGopayOrderId
     */
    @Column(name="REFUND_GOPAY_ORDER_ID", length=30)
    public String getRefundGopayOrderId() {
        return refundGopayOrderId;
    }
    /**
     * @param refundGopayOrderId the refundGopayOrderId to set
     */
    public void setRefundGopayOrderId(String refundGopayOrderId) {
        this.refundGopayOrderId = refundGopayOrderId;
    }
    /**
     * @return the operatorId
     */
    @Column(name="OPERATOR_ID", length=6)
    public String getOperatorId() {
        return operatorId;
    }
    /**
     * @param operatorId the operatorId to set
     */
    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }
    /**
     * @return the operatorName
     */
    @Column(name="OPERATOR_NAME", length=64)
    public String getOperatorName() {
        return operatorName;
    }
    /**
     * @param operatorName the operatorName to set
     */
    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }
    /**
     * @return the bankPayOrderNum
     */
    @Column(name="BANK_PAY_ORDER_NUM", length=30)
    public String getBankPayOrderNum() {
        return bankPayOrderNum;
    }
    /**
     * @param bankPayOrderNum the bankPayOrderNum to set
     */
    public void setBankPayOrderNum(String bankPayOrderNum) {
        this.bankPayOrderNum = bankPayOrderNum;
    }
    /**
     * @return the bankRefundOrderNum
     */
    @Column(name="BANK_REFUND_ORDER_NUM", length=30)
    public String getBankRefundOrderNum() {
        return bankRefundOrderNum;
    }
    /**
     * @param bankRefundOrderNum the bankRefundOrderNum to set
     */
    public void setBankRefundOrderNum(String bankRefundOrderNum) {
        this.bankRefundOrderNum = bankRefundOrderNum;
    }
    /**
     * @return the refundReason
     */
    @Column(name="REFUND_REASON", length=255)
    public String getRefundReason() {
        return refundReason;
    }
    /**
     * @param refundReason the refundReason to set
     */
    public void setRefundReason(String refundReason) {
        this.refundReason = refundReason;
    }
    /**
     * @return the createTime
     */
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name="CREATE_TIME")
    public Date getCreateTime() {
        return createTime;
    }
    /**
     * @param createTime the createTime to set
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    
}
